package com.ruoyi.wechat.constants;

/**
 * @author zyj
 * @date 2022-08-22 15:22
 */
public class WeChatConstants {

    /**
     * 文本消息推送
     */
    public static final String EVEN = "event";

    /**
     * 定位事件
     */
    public static final String TEXT = "text";
    /**
     * 订阅
     */
    public static final String SUBSCRIBE = "subscribe";

    /**
     * 定位事件
     */
    public static final String EVEN_LOCATION = "LOCATION";

    /**
     * 模板消息
     */
    public static final String TEMPLATE_URL = "https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=";


    public static final String ACCESS_TOKEN_URL = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=%s&secret=%s";



    public static final String WECHAT_ACCESS_TOKEN_KEY = "wechat:access_token:";

    public static final String WECHAT_APP_ID_KEY = "wechat:appid:";


    public static final String WECHAT_APP_SECRET_KAY = "wechat:appSecret:";
}
